package org.docmanagement.forms;

import java.io.Serializable;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;
import org.docmanagement.commons.Constants;
import org.docmanagement.commons.struts.CommonForm;

/**
 * Created on 11 oct. 2004
 * @author eveno
 */
public class IdForm extends CommonForm implements Serializable, Constants
{
	private static final long serialVersionUID = 1L;

	private Integer id = null;
    /**
     * 
     * @return
     */
    public Integer getId()
    {
        return id;
    }
    /**
     * 
     * @param id
     */
    public void setId(Integer pId)
    {
        this.id = pId;
    }
    /**
     * @see org.apache.struts.action.ActionForm#reset(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest)
     */
    public void reset(ActionMapping mapping, HttpServletRequest request)
    {
        super.reset(mapping, request);
        id = null;
    }
}
